package com.example.diffservice.algorithm.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author 12707
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class FilePairData {

    private byte[] prev;
    private byte[] curr;
    private String prevPath;
    private String currPath;
    private String filename;
    private String parentCommit;

    public FilePairData(byte[] prev, byte[] curr, String prevPath, String currPath, String filename) {
        this.prev = prev;
        this.curr = curr;
        this.prevPath = prevPath;
        this.currPath = currPath;
        this.filename = filename;
    }
}
